package com.zwz.entity;

import lombok.Data;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class ConsumptionRestriction {
    private Integer id;                  // 主表关联ID
    private Boolean hasRestriction;      // 有无限制
    private Date publishDate;           // 发布时间
    private Boolean currentRestriction; // 当前限制
    private Boolean historicalRestriction; // 历史限制
    private String caseNumber;          // 案号
    private Boolean hasEnforcement;     // 有无申请执行
    private Integer enforcementCount;   // 执行数量
    private BigDecimal enforcementAmount; // 涉案金额

    private Integer  enterpriseId;



    // Lombok @Data 可替代以下代码
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    // 其他字段的完整getter/setter...
    public BigDecimal getEnforcementAmount() { return enforcementAmount; }
    public void setEnforcementAmount(BigDecimal enforcementAmount) { this.enforcementAmount = enforcementAmount; }
}